crypto/tls.Config.time (method)
18 uses
crypto/tls (current package)
common.go#L864: key.created = c.time()
common.go#L986: if len(c.autoSessionTicketKeys) > 0 && c.time().Sub(c.autoSessionTicketKeys[0].created) < ticketKeyRotation {
common.go#L996: if len(c.autoSessionTicketKeys) == 0 || c.time().Sub(c.autoSessionTicketKeys[0].created) >= ticketKeyRotation {
common.go#L1005: if c.time().Sub(k.created) < ticketKeyLifetime {
common.go#L1050: func (c *Config) time() time.Time {
handshake_client.go#L430: if c.config.time().After(session.peerCertificates[0].NotAfter) {
handshake_client.go#L457: if c.config.time().After(time.Unix(int64(session.useBy), 0)) {
handshake_client.go#L498: ticketAge := c.config.time().Sub(time.Unix(int64(session.createdAt), 0))
handshake_client.go#L1101: CurrentTime: c.config.time(),
handshake_client.go#L1119: CurrentTime: c.config.time(),
handshake_client_tls13.go#L353: ticketAge := c.config.time().Sub(time.Unix(int64(hs.session.createdAt), 0))
handshake_client_tls13.go#L899: session.useBy = uint64(c.config.time().Add(lifetime).Unix())
handshake_server.go#L453: if c.config.time().Sub(createdAt) > maxSessionTicketLifetime {
handshake_server.go#L489: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
handshake_server.go#L904: CurrentTime: c.config.time(),
handshake_server_tls13.go#L352: if c.config.time().Sub(createdAt) > maxSessionTicketLifetime {
handshake_server_tls13.go#L372: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
ticket.go#L297: createdAt: uint64(c.config.time().Unix()),
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |